/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package editor;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Element</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link editor.Element#getElementType <em>Element Type</em>}</li>
 *   <li>{@link editor.Element#getIncomingComplexElement <em>Incoming Complex Element</em>}</li>
 *   <li>{@link editor.Element#getAttributes <em>Attributes</em>}</li>
 * </ul>
 * </p>
 *
 * @see editor.EditorPackage#getElement()
 * @model annotation="gmf.node label='name, elementType' figure='rounded' label.pattern='{0} : {1}' color='204,213,204' tool.name='Element' tool.small.bundle='br.ufpe.cin.jfsr.tg.editor.edit' tool.small.path='icons/full/obj16/Element.gif'"
 * @generated
 */
public interface Element extends Node {
	/**
   * Returns the value of the '<em><b>Element Type</b></em>' attribute.
   * The literals are from the enumeration {@link editor.DefaultTypes}.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Element Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Element Type</em>' attribute.
   * @see editor.DefaultTypes
   * @see #setElementType(DefaultTypes)
   * @see editor.EditorPackage#getElement_ElementType()
   * @model required="true"
   * @generated
   */
	DefaultTypes getElementType();

	/**
   * Sets the value of the '{@link editor.Element#getElementType <em>Element Type</em>}' attribute.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Element Type</em>' attribute.
   * @see editor.DefaultTypes
   * @see #getElementType()
   * @generated
   */
	void setElementType(DefaultTypes value);

	/**
   * Returns the value of the '<em><b>Incoming Complex Element</b></em>' reference.
   * It is bidirectional and its opposite is '{@link editor.RootRelationship#getTargetRoot <em>Target Root</em>}'.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Incoming Complex Element</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Incoming Complex Element</em>' reference.
   * @see #setIncomingComplexElement(RootRelationship)
   * @see editor.EditorPackage#getElement_IncomingComplexElement()
   * @see editor.RootRelationship#getTargetRoot
   * @model opposite="targetRoot" required="true"
   * @generated
   */
	RootRelationship getIncomingComplexElement();

	/**
   * Sets the value of the '{@link editor.Element#getIncomingComplexElement <em>Incoming Complex Element</em>}' reference.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Incoming Complex Element</em>' reference.
   * @see #getIncomingComplexElement()
   * @generated
   */
	void setIncomingComplexElement(RootRelationship value);

	/**
   * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
   * The list contents are of type {@link editor.Attribute}.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Attributes</em>' containment reference list.
   * @see editor.EditorPackage#getElement_Attributes()
   * @model containment="true"
   *        annotation="gmf.compartment layout='list' collapsible='false'"
   * @generated
   */
	EList<Attribute> getAttributes();

} // Element
